//
// Author:
//   Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//

using System;

namespace ILRuntime.Mono.Cecil
{

    public enum ModuleKind
    {
        Dll,
        Console,
        Windows,
        NetModule,
    }

    public enum MetadataKind
    {
        Ecma335,
        WindowsMetadata,
        ManagedWindowsMetadata,
    }

    public enum TargetArchitecture
    {
        I386 = 0x014c,
        AMD64 = 0x8664,
        IA64 = 0x0200,
        ARM = 0x01c0,
        ARMv7 = 0x01c4,
        ARM64 = 0xaa64,
    }

    [Flags]
    public enum ModuleAttributes
    {
        ILOnly = 1,
        Required32Bit = 2,
        ILLibrary = 4,
        StrongNameSigned = 8,
        Preferred32Bit = 0x00020000,
    }

    [Flags]
    public enum ModuleCharacteristics
    {
        HighEntropyVA = 0x0020,
        DynamicBase = 0x0040,
        NoSEH = 0x0400,
        NXCompat = 0x0100,
        AppContainer = 0x1000,
        TerminalServerAware = 0x8000,
    }
}
